Add salt generation to demo security configuration#6022
Add salt generation to demo security configuration#6022cwperks merged 10 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6022 +/- ##
==========================================
- Coverage 74.78% 74.77% -0.01%
==========================================
Files 447 447
Lines 28467 28481 +14
Branches 4328 4332 +4
==========================================
+ Hits 21289 21298 +9
- Misses 5184 5186 +2
- Partials 1994 1997 +3
🚀 New features to boost your workflow:
|
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
PR Reviewer Guide 🔍(Review updated until commit 1b0b971)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 1b0b971 Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 1b0b971
Suggestions up to commit e15987a
|
|
LGTM. Looks like link checker was confused by the github outage the other day. Is there a way to track changes like this which need some enablement on the next major version? Maybe a board or label? |
Let's start using the 4.0 label on GH issues to track anything that should be done for the next major version. |
|
@finnegancarroll I created #6124 for tracking |
Signed-off-by: Craig Perkins <cwperx@amazon.com>
|
@finnegancarroll @willyborankin I pushed another commit to address the comments. Can you review again? |
|
Persistent review updated to latest commit 1b0b971 |
1 similar comment
|
Persistent review updated to latest commit 1b0b971 |
Description
The changes in this PR more strongly encourage a cluster administrator to configure all aspects of security including the salt used for Field Masking.
Currently, when using the demo security configuration we log out a warning message when left uncustomized
Even if
plugins.security.allow_unsafe_democertificatesis set tofalsethe cluster boots up. This PR introduces code to enforce that this value is customized, but leaves it unwired as it could break existing deployments. I propose that this would be enforced in next major release.Maintenance
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.